<div style="border-left:0 solid #99bbe8; border-bottom:0 solid #99bbe8;" id="content" class="x-panel-body" >
	    <div class="list-div " id="listDiv" style="margin-bottom:0px;overflow:auto">	      
		  <table cellpadding="3" cellspacing="0" id="listTable" >		  
          <thead>
		  <tr class="x-grid3-header">
          <th class="sort-numeric " >
			<div class="x-grid3-hd-inner ">选择<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>
			<th class="sort-numeric " >
			<div class="x-grid3-hd-inner ">ID<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>

			<th class="sort-alpha" >
			<div class="x-grid3-hd-inner">托运单号<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>

			<th class="sort-alpha">
			<div class="x-grid3-hd-inner">托运日期<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>

			<th class="sort-alpha">
			<div class="x-grid3-hd-inner">发货人<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>

			<th class="sort-alpha">
			<div class="x-grid3-hd-inner">发货人电话<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>
			<th class="sort-alpha ">
			<div class="x-grid3-hd-inner">收货人<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th >
			
			<th class="sort-alpha">
			<div class="x-grid3-hd-inner">收货人电话<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>
			<th class="sort-alpha">
			<div class="x-grid3-hd-inner">发站<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>
			<th class="sort-alpha">
			<div class="x-grid3-hd-inner">到站<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
			<div class="x-grid3-hd-inner">服务方式<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha"> 
			<div class="x-grid3-hd-inner">付款方式<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
			<div class="x-grid3-hd-inner">货物名称<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
            <div class="x-grid3-hd-inner">货物件数<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
            <div class="x-grid3-hd-inner">货物包数<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha"> 
			<div class="x-grid3-hd-inner">货物价值<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
			<div class="x-grid3-hd-inner">中转站<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
			<div class="x-grid3-hd-inner">运费<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>		
            <th class="sort-alpha">
			<div class="x-grid3-hd-inner">送货费<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>
            			            <th class="sort-alpha">                                                                    
			<div class="x-grid3-hd-inner">代收货款<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">              
			<div class="x-grid3-hd-inner">实际代收货款<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
			<div class="x-grid3-hd-inner">中转费<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
			<div class="x-grid3-hd-inner">开票人<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>					            <th class="sort-alpha">
                                    
			<div class="x-grid3-hd-inner">备注<img class="x-grid3-sort-icon" src="<?php echo base_url()?>images/s.gif"></div></th>
			<th >
			<div class="x-grid3-hd-inner">操作</div></th >
		  </tr>
          </thead>
		  <tbody>
		  <?php  foreach ($shipping_list as $value){ ?>
		  <tr class="x-grid3-row " >
			<td><div class="x-grid3-cell-inner " style=" text-align:center;"><input type="radio"  name="shipping_id[]" value=<?php echo $value['id']?>></div></td>
			<td><div class="x-grid3-cell-inner "><?php echo $value['id'] ?></div></td>
			<td ><div class="x-grid3-cell-inner " ><?php echo $value['shipping_no']; ?></div></td>
			<td><div class="x-grid3-cell-inner "><?php echo $value['operate_datetime'] ?></div></td>
 

			<td ><div class="x-grid3-cell-inner "><?php echo $value['shipper'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['shipper_telephone'] ?></div></td>	
			<td ><div class="x-grid3-cell-inner "><?php echo $value['receiver'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['receiver_telephone'] ?></div></td>	
			<td ><div class="x-grid3-cell-inner "><?php echo $value['checkin_site_name'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['destination_site_name'] ?></div></td>	
			<td ><div class="x-grid3-cell-inner "><?php echo $value['delivery_methmod_name'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['payment_mode_name'] ?></div></td>	
			<td ><div class="x-grid3-cell-inner "><?php echo $value['goods_name'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['goods_num'] ?></div></td>	
			<td ><div class="x-grid3-cell-inner "><?php echo $value['goods_packet_num'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['goods_value'] ?></div></td>	                                                             
			<td ><div class="x-grid3-cell-inner "><?php echo $value['transfer_station'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['freight'] ?></div></td>	
            <td ><div class="x-grid3-cell-inner "><?php echo $value['v_fee'] ?></div></td>		
        	<td ><div class="x-grid3-cell-inner "><?php echo $value['cod_fee'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner "><?php echo $value['actual_fee'] ?></div></td>				 		 
			<td ><div class="x-grid3-cell-inner "><?php echo $value['transfer_fee'] ?></div></td>	
			<td ><div class="x-grid3-cell-inner "><?php echo $value['operator_name'] ?></div></td>	
			<td ><div class="x-grid3-cell-inner "><?php echo $value['demo'] ?></div></td>			
			<td ><div class="x-grid3-cell-inner ">
			 
			 <a href='<?php echo site_url('shipping_list/edit/id/'.$value['id'])?>' style="text-decoration:none" alt='编辑' title='编辑'>
			 <img src="<?php echo base_url()?>images/icon_edit.gif" border="0" width="16" height="16">			 </a>&nbsp;&nbsp;
			 <a href='#' id="delete" style="text-decoration:none"  title='删除' onclick="del('<?php echo $value['id']?>',this)">
			 <img src="<?php echo base_url()?>images/icon_drop.gif" border="0" width="16" height="16" alt='删除'>			 </a>&nbsp;&nbsp;
<a href='<?php echo site_url('shipping_list/print_shipping/id/'.$value['id'])?>'  target="new" id="print" style="text-decoration:none"  title='打印'>
			 <img src="<?php echo base_url()?>images/details.gif" border="0" width="16" height="16" alt='打印货运单'>			 </a>


			</div></td>
		  </tr>
		  <?php  } ?>
		</tbody></table>
		</div>
		<!-- 分页显示 -->
		<?php
		$data['total_pages'] = $total_pages;
		$data['page_first'] = $page_first;
		$data['page_prev'] = $page_prev;
		$data['total_pages'] = $total_pages;
		$data['page'] = $page;
		$data['page_next'] = $page_next;
		$data['page_last'] = $page_last;
		$data['show_start'] = $show_start;
		$data['show_end'] = $show_end;
		$data['total_rows'] = $total_rows;
		$this->load->view('widget/pagination', $data)
	    ?>
		<!-- /分页显示 -->
		</div>